﻿<%@ page contentType="text/html; charset=utf-8" language="java"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
	<HEAD>
		<TITLE> 中国教育黄页 登录</TITLE>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<SCRIPT src="/js/validator.js" type=text/javascript></SCRIPT>
		<LINK href="/css/basic.css" type=text/css rel=StyleSheet>
		<SCRIPT src="/js/xx.js" type=text/javascript></SCRIPT>
		<SCRIPT src="/js/prototype.js" type=text/javascript></SCRIPT>
		<LINK href="/css/member.css" type=text/css rel=StyleSheet>
			 <link href="/css.css" rel="stylesheet" type="text/css" />
		<SCRIPT type=text/javascript>
		 String.prototype.trim = function () {
				return this.replace(/(^\s*)|(\s*$)/g, "");
		};
		function formcheck(){
	 		var value=document.getElementById("query").value
			if(value.trim().length==0){
				alert("关键词不能为空");
				return false;
	 		}
		 }
		 
		 
 
	function loginSubmit(){
			var username=document.getElementById("username").value
		if(username.trim().length==0)
		{
		  alert("用户名不能空！");
			 document.getElementById("username") .focus();
		  return false;
		}
		var pwd=document.getElementById("pwd").value;
		if(pwd.trim().length==0)
		{
		  alert("用户密码不能空！");
			  document.getElementById("pwd").focus();
		  return false;
		}
 return true;
}
		</SCRIPT>
		 
	</HEAD>
	<BODY>
		 
		 <div class="top">
	<div class="top1">
		<div class="logo"></div>
		<ul class="nav_ul">
			<li class="nav_li1"><a href="/index.html">首页</a></li>
			<li class="nav_li2"><a href="/edunews.html">教育新闻</a></li>
			<li class="nav_li2"><a href="/zhaosheng.html">招生资讯</a></li>
			<li class="nav_li2"><a href="/policy.html">法规政策</a></li>
			<li class="nav_li2"><a href="/school.html">学校黄页</a></li>
		</ul>
	</div>
</div>
<div class="gg"></div>
		<TABLE style="PADDING-TOP: 5px ; padding-bottom:100px" cellSpacing=0
			cellPadding=0 width="100%" align=center>
			<TBODY>
				<TR>
					<TD vAlign=top width="98%">
						<!-- 右侧 -->
						<TABLE class=table_dd2 cellSpacing=0 cellPadding=0 width="65%"
							align=center height="300">
							<TBODY>
								<tr>
									<td vAlign=top noWrap align="left"
										style="padding-top:5px ; padding-left:5px; font-size:16px; font-weight:bold ; color:#678CBE">
										会员登录
									</td>
								</tr>
								<TR>
									<Td vAlign=top noWrap style=" padding-left:35px;">
										<form id="loginform" method="post" style="line-height: 20px" action="/flogin"
											onSubmit="return loginSubmit();">
											<table>
												<tr height="40">
													<td align="right">
														电子邮箱(用户名)
													</td>
													<td>
														<input id="username" name="username"  
															  value=""  
															size="25"  />
													</td>
												</tr>
												<tr>
													<td align="right">
														密码
													</td>
													<td>
														<input name="pwd" type="password"  size="27"  />
													</td>
												</tr>
												 
												<tr>
													<th>
														&nbsp;
													</th>
													<td>
														<input id="submitBtn" type="submit" value="登录"
														 />
														<a href="/reg.jsp" target="_blank">注册</a>&nbsp;&nbsp;
														<!-- <a href="/findpwd.jsp" target="_blank">忘记密码</a> -->
													</td>
												</tr>
												
												<tr>
													<th>
														&nbsp;
													</th>
													<td style="color: red">
														 <%=request.getAttribute("Error")==null?"":request.getAttribute("Error") %>
														 
													</td>
												</tr>
												
												 
											</table>
										</form>
									</Td>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
			</TBODY>
		</TABLE>
		  <jsp:include flush="true" page="/foot.jsp"></jsp:include>
	</BODY>
</HTML>
